package model;

public class Enemy {
    int x, y;
    private static final int MOVE_SPEED = 2;

    public Enemy(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public void move() {
        y += MOVE_SPEED;
    }

    // 添加 getter 方法
    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}